package com.hup.utils.io.netty;

import io.netty.channel.nio.NioEventLoopGroup;

/**
 * 自义定线程池builder
 *
 * @author hugan
 * @date 2021/4/27
 */
public interface NioEventLoopGroupBuilder {
    /**
     * @param isWorkerGroup true-workerGroup;false-bossGroup,仅 {@link NettyTCPServer}有bossGroup
     */
    NioEventLoopGroup get(boolean isWorkerGroup);
}
